@extends('home.frame')

@section('content')
<link href="/ho/css/cmstyle.css" rel="stylesheet" type="text/css">
<div class="user-comment">
						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">评价管理</strong> / <small>Manage&nbsp;Comment</small></div>
						</div>
						<hr/>

						<div class="am-tabs am-tabs-d2 am-margin" data-am-tabs>

							<ul class="am-avg-sm-2 am-tabs-nav am-nav am-nav-tabs">
								<li class="am-active"><a href="#tab1">所有评价</a></li>

							</ul>

							<div class="am-tabs-bd">
								<div class="am-tab-panel am-fade am-in am-active" id="tab1">

									<div class="comment-main">
										<div class="comment-list">
										
						@if(session('success'))
						<div style="color:green;" class="one" onclick="this.style.display='none'">
						      <ul>
						        <li>{{ session('success')}}</li>
						      </ul>
						  </div>
						@endif
										@foreach($comment as $k=>$v)
											<ul class="item-list">

												
												<div class="comment-top">
													<div class="th th-price">
														<td class="td-inner"></td>
													</div>
													<div class="th th-item">
														<td class="td-inner"></td>
													</div>													
												</div>
												
												<li class="td td-item">
													<div class="item-pic">
														<a href="#" class="J_MakePoint">
															<img src="http://lamp187mall.oss-cn-beijing.aliyuncs.com/{{$v['good']['gphoto']}}" class="itempic">
														</a>
													</div>
												</li>

												<li class="td td-comment">
													<div class="item-title">
														<div class="item-name">{{$v['gcstatus']}}</div>
														<div class="item-name">
															<a href="/home/good/{{$v['good']['gid']}}">
																<p class="item-basic-info">{{$v['good']['gname']}}</p>
															</a>
														</div>
													</div>
													<div class="item-comment">
														{{$v['gccontent']}}
													</div>

													<div class="item-info">
														<div>
															<p class="info-little"><span>规格：{{$v['good']['gfeature']}}</span> <span></span> </p>
															<p class="info-time">{{$v['gctime']}}</p>

														</div>
													</div>
												</li>
												

											</ul>
											@endforeach

										</div>
									</div>

								</div>
								
							</div>
						</div>

					</div>

@endsection